<div>
  <d-toggle (change)="onChange($event)"></d-toggle>
  <div>Change count: {{ count }}</div>
</div>
